/*
 * PC_Communication.h
 *
 *  Created on: 2016-5-21
 *      Author: Mahome
 */

#ifndef PC_COMMUNICATION_H_
#define PC_COMMUNICATION_H_

#define EnNetworkModule						0
#define BlueToothConnectState()				!BT_IND
#define cellularNetworkConnectState()		(sim_event == CmdExchange)


extern ubyte SendBuf[Big_SIZE];
typedef enum Enum_PCInterface
{
	USB =0x01,
	BlueTooth,
	Cellular,
	NoConnection
}Enum_PCInterface;

typedef enum Enum_PCConnectState
{
	NotConnected,
	Connceted,
}Enum_PCConnectState;

struct str_PcConncetState
{
	Enum_PCConnectState USBlink;
	Enum_PCConnectState BTlink;
	Enum_PCConnectState Celllink;
	Enum_PCInterface OnUsing;
	ubyte USB_PreState;
	ubyte EnableRealTimeUpload;
	ubyte EnableSim5320;
}PC;

extern void PC_Communication(void);


#endif /* PC_COMMUNICATION_H_ */
